import $http from "./requst";
// 登陆
export function login(data) {
  return $http({
    url: `/api/login/passLogin`,
    method: "POST",
    data,
  });
}
// 修改密码
export function updatePassword(data) {
  return $http({
    url: `/api/updatePassword`,
    method: "POST",
    data,
  });
}

// 查询企业未授权的章
export function comSealSerch(data) {
  return $http({
    url: `/api/auth/list`,
    method: "POST",
    data,
  });
}

// 印章授权
export function sealAuth(data) {
  return $http({
    url: `/api/auth/add`,
    method: "POST",
    data,
  });
}
// 印章授权记录
export function authRecordList(data) {
  return $http({
    url: `/api/auth/recordList`,
    method: "POST",
    data,
  });
}
// 获取渠道商授权次数信息
export function getAuthCunt(data) {
  return $http({
    url: `/api/auth/snum`,
    method: "POST",
    data,
  });
}
